<script setup>
import { onMounted, ref } from "vue";
import { useRouter } from 'vue-router'

onMounted(() => {
  useRouter().push('/')
})

const menuList = ref([
  { id: 1, name: '软著提取', path: '/' },
]);

</script>
<template>
  <el-container style="height: 99%;width: 100%;">
    <el-main style="margin: 0;padding: 0;">
      <router-view></router-view>
    </el-main>
    <el-footer height="10px" style="text-align: center;font-size: 10px;">Copyright © 2024. WangYaoDe.</el-footer>
  </el-container>
</template>

<style scoped>
.el-menu {
  height: 100%;
}
</style>
<style>
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  min-height: 100vh;
  overflow: hidden;
  /* 使body至少占满整个视口高度 */
}

#app {
  height: 100%;
  width: 100%;
}
</style>
